#include "Singleton.h"

Hero * Hero::m_pInstance = 0;

Hero * Hero::GetInstance( void )
{
	if ( m_pInstance == 0 )
	{
		m_pInstance = new Hero;
	}

	return m_pInstance;
}

void Hero::DeleteInstance( void )
{
	if ( m_pInstance )
	{
		delete m_pInstance;
		m_pInstance = 0;
	}
}
